home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
src
/
X11
/
spatial
/
Imakefile
< prev
next >
Wrap
Makefile
|
1995-05-03
|
1KB
|
35 lines
# The next lines define the directories where the executable, piece file,
# and score file are installed. Change them to whatever is appropriate.
INSTDIR = /usr/skunk
DESTLIBDIR = $(INSTDIR)/lib
DESTBINDIR = $(INSTDIR)/bin
MANDIR = /usr/man/man.CONTRIB
MANSUFFIX = CONTRIB
SCOREFILE = $(DESTLIBDIR)/spatial.sco
PIECEFILE = $(DESTLIBDIR)/spatial.shp
DEFINES =
# uncomment the next line if your system doesn't have
# random() and srandom()
DEFINES = -Drandom=lrand48 -Dsrandom=srand48 -DUSELOCKF \
-DSCOREFILENAME=\"$(SCOREFILE)\" -DPIECEFILENAME=\"$(PIECEFILE)\"
# uncomment the next line for Solaris, which has neither
# flock() nor random().
#DEFINES = -DUSELOCKF -Drandom=lrand48 -Dsrandom=srand48 \
# -DSCOREFILENAME=\"$(SCOREFILE)\" -DPIECEFILENAME=\"$(PIECEFILE)\"
OBJS = spatial.o disp.o game.o rots.o intro.o deco.o score.o
LOCAL_LIBRARIES = $(XLIB)
SYS_LIBRARIES = -lm
ComplexProgramTarget(spatial)
InstallNonExecFile(spatial.shp,$(DESTLIBDIR))
install:: install.man spatial.sco
MakeDir($(DESTDIR)$(DESTLIBDIR))
$(INSTALL) -c -m 0666 spatial.sco $(DESTDIR)$(DESTLIBDIR)